package com.sm.service;

import com.sm.controller.request.TeacherRegisterRequest;
import com.sm.controller.request.UpdatePasswordRequest;
import com.sm.controller.request.UpdateProfileRequest;
import com.sm.controller.request.UserLoginRequest;
import com.sm.entity.Teacher;
import com.sm.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author Cola
 * @description
 * @date 2022/2/1
 */
public interface UserService {

    void login(UserLoginRequest userLoginRequest) throws Exception;

    void updatePassword(UpdatePasswordRequest updatePasswordRequest) throws Exception;

    void addTeacherUser(TeacherRegisterRequest request) throws Exception;

    User getUser() throws Exception;

    void updateTeacherUser(Teacher teacher) throws Exception;

    void deleteTeacher() throws Exception;

}
